<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../semantic/dist/semantic.min.css">
    <title>semantic-ui-accordion</title>
    <style>

    </style>
</head>

<body>
    <div class="ui header dividing">Accordion</div>
    <div class="ui container">

        <div class="ui inverted segment">
            <div class="ui fluid inverted accordion">
                <div class="active title">
                    <i class="dropdown icon"></i>
                    标题
                </div>
                <div class="active content">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non, facere porro maiores, itaque iusto, reiciendis vitae dolores quod aliquid totam est soluta officiis. Quo sed recusandae temporibus aperiam, pariatur obcaecati.</p>
                </div>
                <div class="title">
                    <i class="dropdown icon"></i>
                    标题
                </div>
                <div class="content">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non, facere porro maiores, itaque iusto, reiciendis vitae dolores quod aliquid totam est soluta officiis. Quo sed recusandae temporibus aperiam, pariatur obcaecati.</p>
                </div>
                <div class="title">
                    <i class="dropdown icon"></i>
                    标题
                </div>
                <div class="content">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non, facere porro maiores, itaque iusto, reiciendis vitae dolores quod aliquid totam est soluta officiis. Quo sed recusandae temporibus aperiam, pariatur obcaecati.</p>
                </div>
            </div>
        </div>

    </div>

    <script src="../../node_modules/jquery/dist/jquery.min.js"></script>
    <script src="../semantic/dist/semantic.min.js"></script>
    <script>
    $('.ui.accordion').accordion({
        exclusive: false,
        on: 'mouseover mouseout',
        duration: 1000
    });

    </script>
</body>

</html>
